package org.rendao.dao;

import java.util.List;

public interface IGenericDao <T> {
	
	public void setClazz(Class<T> clazzToSet);

	public T getById(String entityId);

	public List<T> getAll();
	
	public List<T> getAllAvailable();

	public T save(T entity);

	public T update(T entity);

	public void delete(T entity);

	public void deleteById(String entityId);
	
	public int softDelete(String entityId);
}
